// Math对象
console.log(Math.PI);
console.log(Math.floor(3.2)); // 3
console.log(Math.ceil(3.2)); // 4
console.log(Math.round(3.5)); // 4
console.log(Math.round(-3.5)); // -3
console.log(Math.round(3.4)); // 3
console.log(Math.round(3.6)); // 4
console.log(Math.round(-3.4)); // -3
console.log(Math.round(-3.6)); // -4

console.log(Math.max(1, 2, 3, 4, 5));
console.log(Math.min(1, 2, 3, 4, 5));
console.log(Math.random());

// Date构造函数

const date = new Date()
console.log(date.valueOf());
console.log(date.getTime());

const date1 = +new Date()
console.log(date1);

const date2 = Date.now()
console.log(date2);